package com.diapoclic.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the FolderShared database table.
 * 
 */
@Entity
public class FolderShared implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id_fS;

	private int id_folderSh;

	//bi-directional many-to-one association to User
    @ManyToOne
	@JoinColumn(name="id_user")
	private User user;

    public FolderShared() {
    }

	public int getId_fS() {
		return this.id_fS;
	}

	public void setId_fS(int id_fS) {
		this.id_fS = id_fS;
	}

	public int getId_folderSh() {
		return this.id_folderSh;
	}

	public void setId_folderSh(int id_folderSh) {
		this.id_folderSh = id_folderSh;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
}